package cn.tedu.order.feign;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient("EASY-ID")
public interface EasyIdClient {
    @GetMapping("/segment/ids/next_id")
    Map <String,String> nextId(
            @RequestParam("businessType") String businessType);
}

